<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>template</title>
</head>
<body>
    <table border="1" cellspacing="0">
         <caption >{{title}}</caption>
        <tr>
        <th>产品名称</th>
        <th>BUG总数</th>
        <th>未解决BUG数</th>
        <th>新增BUG数</th>
        <th>今日已解决</th>
        <th>今日已关闭</th>
        </tr>
        {% for item in body %}
        <tr>
            <td>{{item.projectName}}</td>
            <td>{{item.bugTol}}</td>
            <td>{{item.NumberOfUnresolvedBugs}}</td>
            <td>{{item.numberOfNewBugs}}</td>
            <td>{{item.bugSolveToday}}</td>
            <td>{{item.bugClosedToday}}</td>
        </tr>
        {% endfor %}
    </table>
    <p>研发对应项目未解决bug统计:</p>
    <br><img src="cid:image1"></br>
    <p>延期bug记录：</p>
    <table border="1" cellspacing="0">
        <tr>
        <th>bug所属项目</th>
        <th>bugId</th>
        <th>bug描述</th>
        <th>bug指向人员</th>
        <th>delay_time</th>
        </tr>
        {% for item in expiredBug %}
        <tr>
            <td>{{item.name}}</td>
            <td>{{item.bugId}}</td>
            <td>{{item.bugDescribe}}</td>
            <td>{{item.bugByP}}</td>
            <td>{{item.delaytime}}</td>
        </tr>
        {% endfor %}
    </table>
    <p>PS：延期bug中已解决bug请修改对应状态</p>
</body>
</html>